List of useful shortcuts for VS Code
Insert project | File -> Add Folder to Workspace |
Save Workspace | File -> Save Worksapce As ... |
Open Settings | Ctrl + , |
Define IPC | Open Settings (Ctrl + ,) select the appropriate folder, search for "ipc" under "Search Settings", enter the path to the IPC file under Project: Ipc File. The complete path. |
File search | Ctrl + P |
Search for symbol | Ctrl + T |
Jump to line | Ctrl + G |
enlarge font | Ctrl + + |
Reduce font size | Ctrl + - |
Show/hide all warnings and errors | Ctrl + Shift + F8 |
Navigating through the error list | F8 / Shift + F8 |
Find icon in the current file | Ctrl + Shift + O |
Search in the current file | Ctrl + F |
Search next | F3 (when search term is highlighted) |
Search in files | Ctrl + Shift + F |
Search in project | Ctrl + Alt + F (a project folder must be selected) It is then automatically entered at Inclkude ./folder name, with a comma further folders can be included for searching. |
Jump to the definition of a module | Ctrl + mouse click |
Comment | Ctrl + # |
Block Comment | Shift + Alt + A |
Show definition in editor | Alt + F12 |
Get help on commands | Mausover: A popup window opens with a link to the description. |
Autocomplete | ctrl + space bar |
Mark line | Ctrl + L |
Copy line to top | Shift + Alt + Arrow up |
Copy line down | Shift + Alt + Arrow down |
Move line up | Alt + Arrow up |
Move line down | Alt + arrow down |
Delete line | Ctrl + Shift + K |
Enlarge cursor | Ctrl + Alt + arrow up or down (cursor over several lines. Cursor only gets bigger, not smaller again!) |
Column editing | Ctrl + Shift + Alt + arrow keys in the appropriate direction. |
Mark everything that corresponds to the current marking. | Ctrl + Shift + L |
Mark all occurrences of the marked word | Ctrl + F2 |
Rename selected symbol and all occurrences as well | F2 |
Shortcuts | First Ctrl + K, then Ctrl + S |
Save file | Ctrl + S |
Save all files | Ctrl + K, S |
Save file as | Ctrl + Shift + S |